<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .container{
            max-width: 960px;
            margin: auto;
        }
        .col-md-1 {width: 8.33%;}
        .col-md-2 {width: 16.67%;}
        .col-md-3 {width: 25%;}
        .col-md-4 {width: 33.33%;}
        .col-md-5 {width: 41.67%;}
        .col-md-6 {width: 50%;}
        .col-md-7 {width: 58.33%;}
        .col-md-8 {width: 66.67%;}
        .col-md-9 {width: 75%;}
        .col-md-10 {width: 83.33%;}
        .col-md-11 {width: 91.67%;}
        .col-md-12 {width: 100%;}
        .row{
            display: flex;
            align-content: flex-start;
        }
        .header{
            background-color: pink;
            border: 1px solid red;
            border-radius: 5px;
        }
        .nav ul{
            list-style-type: none;
            display: flex;
            padding: 0;
            background: #000;
        }
        .body{
            border: 1px solid red;
            border-radius: 5px;
            background-color: pink;
            box-sizing: border-box;
        }

        .sidebar ul{
            list-style-type: none;
            background-color: white;
            padding: 0;
            margin: 0;
            min-width: 200px;
        }
        .sidebar ul li{
            padding: 5px 5px;
            width: 100%;
         }
        .sidebar ul a{
            display: block;
            text-decoration: none;
            color:#000;
            height: 30px;
            padding-left: 15px;
            margin: 0;
        }
        .sidebar ul a:hover{
            color: white;
            transform: scale(1.1);
            background-color: deepskyblue;
        }
        .article{
            border: 1px solid red;
            border-radius: 5px;
            background-color: pink;
            box-sizing: border-box;
        }
        .nav li {
            padding: 15px;
        }
        li.right{
            margin-left: auto;
        }
        .nav li a{
            display: block;
            text-decoration: none;
            color: white;
            padding: 10px 10px;
        }
        .nav li a:hover{
            color: yellow;
        }
        h2{
            color: #fff;
            background-color: deepskyblue;
            margin: 0 ;
            width: 100%;
        }
        .footer{
            margin: 0;
            text-align: center;
        }
        .article{
            line-height: 1em;
            margin: 5px;
        }
        h3{
            margin: 0;
        }
        .area{
            padding: 10px;
            background-color: pink;
            border-radius: 5px;
            border: 1px solid red;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="header">
    <div class="nav">
        <div class="area row">
        <div class="col-md-12">
    <ul>
        <li><a href="#">Home</a></li>
        <li><a href="#">News</a></li>
        <li><a href="#">Contact</a></li>
        <li><a href="#">About</a></li>
        <li class="right"><a href="#">Logout</a></li>
    </ul>
        </div>
        </div>
        </div>
    </div>

<div class="body">
<div class="area row">
    <div class="area col-md-3">
        <div class="sidebar">
    <ul>
       <h2>云技术管理</h2>
        <li><a href="#">云服务器</a></li>
        <li><a href="#">云数据库</a></li>
        <li><a href="#">负载均衡</a></li>
        <h2> 安全管理</h2>
        <li><a href="#">云顿控制台</a></li>
        <li><a href="#">DDos高防IP</a></li>
        <li><a href="#">Web应用防火墙</a></li>
        <li><a href="#">CA证书服务</a></li>
    </ul>
            </div>
    </div>
    <div class="col-md-9">
        <div class="article">
        <h1 style="margin:5px 0">设计内容</h1>
        <p>为各部分区域设计统一样式；全局取消元素内外边距，按box尺寸计算</p>
        <h3>需求0</h3>
        <p>基于当前HTML代码，按12栅格布局页面。Container根容器居中最大宽度960px；Row弹性行容器；
            header/footer各占1行12列；main中sidebar占3列；article占9列。</p>
        <h3>上导航+1</h3>
        <p>header中声明上导航，添加背景色/悬浮字体颜色等样式，且将logout推至最右侧</p>
        <h3>页脚+1</h3>
        <p>元素居中</p>
        <h3>左侧边栏+1</h3>
        <p>为左侧边栏添加样式，添加背景色/字体色/悬浮等等样式</p>
        </div>
    </div>
</div>
    </div>
    <div class="area row">
        <div class="col-md-12">
            <div class="footer">
                东北林业大学
                <br>
                软件工程专业2046@
            </div>
        </div>
    </div>
</div>
    </div>
</body>
</html>